<?php
session_start();
header("Cache-control: private");
include_once("includes/session.php");

//Linha para formatação de caracteres com acentuação
header("Content-Type: text/html; charset=ISO-8859-1",true);
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>| <?php print $EMPRESA_SERVICO .' - '. $TIPO_SISTEMA ?> |</title>
<link rel="stylesheet" type="text/css" href="includes/css/azul.css">
<link rel="stylesheet" type="text/css" href="includes/css/autocomplete.css">
<link type="text/css" href="includes/js/JqueryUI/css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet">

<script language="javascript" type="text/javascript" src="includes/js/jquery-1.4.4.js"></script>

<script language="javascript" type="text/javascript" src="includes/js/JqueryUI/js/jquery-ui-1.8.16.custom.min.js"></script>
<script language="javascript" type="text/javascript" src="includes/js/jquery-validation-1.8.1/jquery.validate.js"></script>
<script language="javascript" type="text/javascript" src="includes/js/jquery-validation-1.8.1/localization/messages_ptbr.js"></script>

<script language="javascript" type="text/javascript" src="includes/js/autocomplete.js"></script>

<script language="javascript" type="text/javascript" src="javascript/inicial.js"></script>
<script language="javascript" type="text/javascript" src="includes/js/funcoes.js"></script>


<script type="text/javascript" src="includes/calendario/date.js"></script>
<!--[if IE]><script type="text/javascript" src="includes/calendario/jquery.bgiframe.js"></script><![endif]-->
<script language="javascript" type="text/javascript" src="includes/calendario/jquery.datePicker.js"></script>
<script language="javascript">
	$(function() {
		
		$( "#tabs" ).tabs({
			ajaxOptions: {
				error: function( xhr, status, index, anchor ) {
					$( anchor.hash ).html(
						"Carregando Modulo." );
				}
			},
			select: function(event, ui) {
					
					
					var selected = parseInt($( "#tabs" ).tabs( "option", "selected" ))+1;
					var idPrefix = $( "#tabs" ).tabs( "option", "idPrefix" );
					
					$("div#"+idPrefix+selected).find("#telas").height("0");
					$("div#"+idPrefix+selected).find("#menu").css('float','none');
					$("div#"+idPrefix+selected).height($("div#"+idPrefix+selected).find("#menu").height());
				}, load: function(event, ui) { 
					var selected = parseInt($( "#tabs" ).tabs( "option", "selected" ))+1;
					var idPrefix = $( "#tabs" ).tabs( "option", "idPrefix" );
					$("div#"+idPrefix+selected).find("#telas").css('display','none');
					$("div#"+idPrefix+selected).find("#telas").hide();
				 },
				show: function(event, ui) { 
					var selected = parseInt($( "#tabs" ).tabs( "option", "selected" ))+1;
					var idPrefix = $( "#tabs" ).tabs( "option", "idPrefix" );
					$("div#"+idPrefix+selected).find("#telas").css('display','none');
				 }
			
			
		});
	});
</script>

<style type="text/css">
label.error {
  background:url("images/unchecked.gif") no-repeat 0px 0px;
  padding-left: 16px;
  color: #D00;
  font-size:10px;
}
label.success {
  background:url("images/checked.gif") no-repeat 0px 0px;
  padding-left: 16px;
}
</style>

<link rel="stylesheet" type="text/css" href="includes/calendario/datePicker.css">
<!--
<style> 
body{background-color:#200}
#header {height:276px; background:url('http://www.moveisflorestal.com.br/site/wp-content/themes/mf/images/header.jpg') center no-repeat;}        #header h1 a {position:absolute; left:50%; margin-left:-166px; margin-top:96px; width:181px; height:82px; background:url('http://www.moveisflorestal.com.br/site/wp-content/themes/mf/images/logo.png') no-repeat; display:block; text-indent:-9999px;}</style>
</head>
-->
<body topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
<!--
<div id="header">
		<h1><a href="http://www.moveisflorestal.com.br/site/">Móveis Florestal</a></h1>
	</div>
-->
<table cellpadding="0" cellspacing="0" width="100%" class="ui-tabs-nav ui-widget-header">
<tr>
<td width="50%" valign="middle" height="35" align="left"> 
&nbsp;&nbsp;
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif" size="2">
<b>| <?php echo $EMPRESA; ?> |  <?php print $_SESSION['TIPO_SISTEMA'] ?> </b>
</font>

</td>

<td width="50%" valign="middle" height="35" align="right"> 
<font color="#FFFFFF" face="Arial, Helvetica, sans-serif" size="2">
<b>Usu&aacute;rio logado: <?php echo $NOME_COMPLETO; ?></b>
</font>
&nbsp;&nbsp;
</td>
</tr>
</table>
<br />
<?php include("menu_principal.php"); ?>

</td>
</tr>
</table>



</body>
</html>